import {
  Image,
  Lazyload,
  Loading
} from 'vant'
import 'vant/es/image/index.css'
import 'vant/es/style/animation.css'
import 'vant/es/loading/index.css'

export function setupVant(app) {
  app.use(Image)
  app.use(Lazyload, {
    lazyComponent: true
  })
  app.use(Loading)
}
